package org.fengling.readingplatform.model.entity.novel;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.fengling.readingplatform.model.entity.base.BaseEntity;


@Data
@Schema(description = "小说章节实体类")
public class Chapter extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Schema(description = "小说标号")
    private Long novelId;

    @Schema(description = "章节标号")
    private Long chapterId;

    @Schema(description = "章节题目")
    private String title;

    @Schema(description = "章节内容")
    private String content;

    @Schema(description = "上一章标号")
    private Long prevChapterId;

    @Schema(description = "下一章标号")
    private Long nextChapterId;

    @Schema(description = "排序标号")
    private Long sortValue;
}
